<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

 <p th:text="${errorInfo}" th:if="${!#strings.isEmpty(errorInfo)}"></p>
  <form th:action="@{/manager/login}" method="post">
    username: <input type="text" name="username" />  <p />

    password: <input type="password" name="password" />  <p />

    <input type="submit" value="登  录" />
  </form>

</body>
</html>